//
//  LWSportTracking.h
//  LWmyTracking
//
//  Created by mac on 17/1/16.
//  Copyright © 2017年 ITLIN. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "LWSportTrackingLine.h"
//运动类型枚举
typedef enum : NSInteger
{
    LWSportTypeWalk = 0,// 步行
    LWSportTypeRun = 1,//跑步
    LWSportTypeBike = 2 //骑行
    
}LWSportType;
@interface LWSportTracking : NSObject
//运动类型
@property(assign,nonatomic)LWSportType sportType;
//运动类型相关的图片
@property(strong,nonatomic)UIImage *sportTypeImg; //由于是UI控件,记得导入#import <UIKit/UIKit.h>

- (instancetype)initWithSportType:(LWSportType)sportType;

// 给一个 location --> 返回一个 覆盖物-->LWSportPolyLine
- (LWSportPolyLine *)appendPolyLineWithLocation:(CLLocation *)location;

@end
